package com.lwj.yuangong2.dao;

import com.lwj.yuangong2.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpDao {
    List<Emp> findAll();

    void addEmp(Emp emp);

    void  delete(String id);

    Emp findById(String id);

    void update(Emp emp);
}
